/**
 * Created by jijin on 2017/7/10.
 *
 * Toast service
 */

import Toast from 'react-native-root-toast';
const showToast = (msg) => {
  Toast.show(msg || '未知错误', {
    duration: 200,
    position: -70,
    shadow: false,
    animation: true,
    hideOnPress: true,
    delay: 0
  })
};

export default showToast;